- content_for :title do
  = :change_password.l

- content_for :navlinks do
  = link_to :back.l, profile_url
  
= error_messages_for 'user'

- form_for :user, nil, :change_password_profile_url do |f|
  %h3
    = :current_password_heading.l

  - form_block do
    - fbrow :user_old_password, :current_password.l do
      = password_field_tag :old_password, '', :size => 30

  %h3
    = :new_password_heading.l

  - form_block do

    - fbrow :user_password, :password.l do
      = f.password_field :password

    - fbrow :user_password_confirmation, :password_confirmation.l do
      = f.password_field :password_confirmation

    - fbrow do
      = submit_tag :change_password.l